package test.serverframe.armc.server.manager.domain;

import java.util.Date;
import java.util.List;

public class InvokeRecord {
    private String recordId;
    
//    private String invokeName;
    
//    private String taskAllName;
    
    private List<Task> taskList;

    private String taskInvokeId;

    private Date startTime;

    private Date endTime;

    private String taskTotal;

    private String taskSuccessTotal;

    //0待执行，1执行中，2执行成功，3执行失败
    private Integer status;
    
    private String nodeArr;

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId == null ? null : recordId.trim();
    }

    public String getTaskInvokeId() {
        return taskInvokeId;
    }

    public void setTaskInvokeId(String taskInvokeId) {
        this.taskInvokeId = taskInvokeId == null ? null : taskInvokeId.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getTaskTotal() {
        return taskTotal;
    }

    public void setTaskTotal(String taskTotal) {
        this.taskTotal = taskTotal == null ? null : taskTotal.trim();
    }

    public String getTaskSuccessTotal() {
        return taskSuccessTotal;
    }

    public void setTaskSuccessTotal(String taskSuccessTotal) {
        this.taskSuccessTotal = taskSuccessTotal == null ? null : taskSuccessTotal.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

/*	public String getInvokeName() {
		return invokeName;
	}

	public void setInvokeName(String invokeName) {
		this.invokeName = invokeName;
	}

	public String getTaskAllName() {
		return taskAllName;
	}

	public void setTaskAllName(String taskAllName) {
		this.taskAllName = taskAllName;
	}*/

	public List<Task> getTaskList() {
		return taskList;
	}

	public void setTaskList(List<Task> taskList) {
		this.taskList = taskList;
	}

	public String getNodeArr() {
		return nodeArr;
	}

	public void setNodeArr(String nodeArr) {
		this.nodeArr = nodeArr;
	}

    @Override
    public String toString() {
        return "InvokeRecord{" +
                "recordId='" + recordId + '\'' +
                ", taskList=" + taskList +
                ", taskInvokeId='" + taskInvokeId + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", taskTotal='" + taskTotal + '\'' +
                ", taskSuccessTotal='" + taskSuccessTotal + '\'' +
                ", status=" + status +
                ", nodeArr='" + nodeArr + '\'' +
                '}';
    }
}